|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.interactions.core.support.Widget
org.eclipse.vtp.framework.interactions.voice.vxml.Parameter
public class Parameter
The Parameter class represents the <param> VXML element.
Certain VXML elements require data to be passed in Parameter objects. The
Subdialog element requires any variables in the current dialog
you want to perform operations on must be passed as Parameter elements.
| Field Summary | |
|---|---|
protected java.lang.String |
name
The name of this parameter. |
protected java.lang.String |
value
The value of this parameter. |
| Constructor Summary | |
|---|---|
Parameter(java.lang.String name,
java.lang.String value)
Creates a new Parameter. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of this parameter. |
java.lang.String |
getValue()
Returns the value of this parameter. |
void |
setName(java.lang.String name)
Sets the name of this parameter. |
void |
setValue(java.lang.String value)
Sets the value of this parameter. |
protected void |
writeAttributes(org.xml.sax.helpers.AttributesImpl attributes)
Write the attribute members of this parameter to the supplied set. |
void |
writeWidget(org.xml.sax.ContentHandler outputHandler)
Writes the content of this widget to an XML content handler. |
| Methods inherited from class org.eclipse.vtp.framework.interactions.core.support.Widget |
|---|
toString, writeAttribute, writeChildren, writeChildren, writeWidget, writeWidget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
protected java.lang.String value
| Constructor Detail |
|---|
public Parameter(java.lang.String name,
java.lang.String value)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
name - The name of this parameter.value - The value of this parameter.
java.lang.IllegalArgumentException - If the supplied name is empty.
java.lang.IllegalArgumentException - If the supplied value is empty.
java.lang.NullPointerException - If the supplied name is null.
java.lang.NullPointerException - If the supplied value is null.| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getValue()
public void setName(java.lang.String name)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
name - The name of this parameter.
java.lang.IllegalArgumentException - If the supplied name is empty.
java.lang.NullPointerException - If the supplied name is null.
public void setValue(java.lang.String value)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
value - The value of this parameter.
java.lang.IllegalArgumentException - If the supplied value is empty.
java.lang.NullPointerException - If the supplied value is null.
public void writeWidget(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
Widget
writeWidget in class WidgetoutputHandler - The handler to write this widget to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of this widget fails.protected void writeAttributes(org.xml.sax.helpers.AttributesImpl attributes)
attributes - The attribute set to write to.
java.lang.NullPointerException - If the supplied attribute set is
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||